package com.lc.luzhengtang.conn;

import android.util.Log;

import com.google.gson.Gson;
import com.lc.luzhengtang.bean.ShopCarListBean;
import com.zcx.helper.http.AsyCallBack;
import com.zcx.helper.http.note.HttpInlet;

import org.json.JSONObject;

/**
 * Created by Administrator on 2017/6/5.
 */
@HttpInlet(Conn.GOODS_SHOP_LIST)
public class ConnShopCar extends BaseAsyPost<ShopCarListBean> {

    public String member_id, page;

    public ConnShopCar(String member_id, String page, AsyCallBack<ShopCarListBean> asyCallBack) {
        super(asyCallBack);
        this.member_id = member_id;
        this.page = page;

    }

    @Override
    protected ShopCarListBean parser(JSONObject object) throws Exception {
/*
        return super.parser(object);*/
        Log.d(object.toString(), "dasffffffffffffff");
        Log.d(object.toString(), "dasffffffffffffff");
        Gson gson = new Gson();
        ShopCarListBean shopCarListBean = new ShopCarListBean();

        shopCarListBean = gson.fromJson(object.toString(), ShopCarListBean.class);

        return shopCarListBean;


    }
}
